#include "stdafx.h"

#ifndef _ANDROID
	void _np_log(const char* msg,...){
	#if defined(__CYGWIN32__) || defined(__APPLE__)
		printf(msg);
	#else
		va_list agrs;
		printf(agrs);
	#endif
		printf("ERROR! EXIT");
		exit(0);
	}

#endif //#ifndef _ANDROID

void _np_check_gl_error(){
    for (GLint error = glGetError(); error; error = glGetError()) {
    	LOGE("gl error here", error);
	}
}
